package com.example.lms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.lms.entity.Warehouses;
import com.example.lms.vo.D;

/**
 * @module
 * @author：DUOLUONIANDAI
 * @DATA：2024/05/11
 * @Title：
 */

public interface WarehousesService extends IService<Warehouses> {

    /**
     * 添加仓库的信息
     * @param warehouses
     * @return
     */
    public D addWarehousesInfo(Warehouses warehouses);

    /**
     * 查询仓库的信息
     * @param id
     * @return
     */
    public D getWarehousesInfo(String id);

    /**
     * 删除仓库并且会连同以他作为外键的一起删除
     * @param id
     * @return
     */
    public D delWareHouses(String id);

    /**
     * 更新仓库的信息
     * @param warehouses
     * @return
     */
    public D uploadWareHouses(Warehouses warehouses);

}
